<template>
  <el-form label-position="left" label-width="124px" ref="diaForm"
           :model="data">
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="车号：" prop="wagonNumber">
          <el-input size="small" v-model="data.wagonNumber"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="到厂时间：" prop="arrivalTime">
          <el-input size="small" v-model="data.arrivalTime"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="离厂时间：" prop="leaveTime">
          <el-input size="small" v-model="data.leaveTime"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="清运物料类型：" prop="cleanType">
          <el-input size="small" v-model="data.cleanType"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="清运物料重量：" prop="cleanWeight">
          <el-input size="small" v-model="data.cleanWeight"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="剩余物料类型：" prop="residueType">
          <el-input size="small" v-model="data.residueType"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="剩余物料重量：" prop="residueWeight">
          <el-input size="small" v-model="data.residueWeight"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="记录人：" prop="recordingPerson">
          <el-input size="small" v-model="data.recordingPerson"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="24">
        <el-form-item label="备注：" prop="remarks">
          <el-input
            type="textarea"
            :autosize="{ minRows: 2, maxRows: 4}"
            resize="none"
            v-model="data.remarks">
          </el-input>
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>

<script>
export default {
  name: 'editForm',
  props: {
    data: { type: Object }
  },
  data () {
    return {
    }
  }
}
</script>

<style scoped>

</style>
